package com.ecp.commons;

public class SysConst {
	
	public static final String	ENCODING_GBK = "GBK";
	public static final String	ENCODING_GB2312 = "GBK2312";
	public static final String	ENCODING_NTF8 = "ntf-8";
	
	public static final String	CONTENTTYPE_GBK = "text/html;charset=GBK";
	
	public static final String	CONTENTTYPE_GB2312 = "text/html;charset=GB2312";
	
	public static final String	DICT_TYPE_CARD = "CARD_TYPE";
	
	public static final String	SYS_FLIGHT_INSURANCE = "FlightInsuranceUnitPrice";
	
	public static final String	SYS_FLIGHT_MAIL = "MailPrice";
	
	public static final int	FL_ORDER_ORDERTYPE_NORRMAL = 1;     //航班订单类型  普通
	public static final int	FL_ORDER_ORDERTYPE_CHANGE = 2;        //航班订单类型  改签
	
	public static final int	FL_ORDER_FROMID_PC = 1;     				//航班订单来源  PC
	public static final int	FL_ORDER_FROMID_WECHAT = 2;        //航班订单来源 	 微信
	public static final int	FL_ORDER_FROMID_APP = 3;        			//航班订单来源  移动app
	public static final int	FL_ORDER_FROMID_OTHER = 9;        			//航班订单来源  其他
	
	public static final int	FL_PSGR_TYPE_P = 1;     	//常用乘机人类型  乘客
	public static final int	FL_PSGR_TYPE_C = 2;     	//常用乘机人类型  联系人
	
	public static final int	FL_PSGR_PTYPE_A = 1;     	//常用乘机人乘客类型    成人
	public static final int	FL_PSGR_PTYPE_C = 2;     	//常用乘机人乘客类型  儿童
	
	//==================================================================================================//
	
	public static final int	FL_ORDER_PAY_O = 1;     	//普通订单
	public static final int	FL_ORDER_PAY_C = 2;     	//补款订单
	
	public static final int	FL_ORDER_PAY_TYPE_E = 1;     	// 支付方式，E钱包支付
	public static final int	FL_ORDER_PAY_TYPE_O = 2;     	//支付方式，在线包支付
	
	public static final int	FL_ORDER_PAY_STATUS_PAID = 330;     	// 支付状态， 已支付
	public static final int	FL_ORDER_PAY_STATUS_UNPAID = 300;     	//支付状态，未支付
	
	/**支付伙伴标记常量**/
	public final static int	FL_ORDER_PAY_ALIPAY			= 30301;						//pc支付宝
	public final static int	FL_ORDER_PAY_WXPAY			= 30302;						//微信支付
	public final static int	FL_ORDER_PAY_JDPAY			= 30303;						//京东支付
	
	//==================================================================================================//
	
	public static final int	FL_ORDER_PRICE_ORDERTYPE_P = 1;     	// 订单乘机人费用类型  乘机人费用
	public static final int	FL_ORDER_PRICE_ORDERTYPE_O = 2;     	//订单乘机人费用类型  订单总费用
	
	
	public static final int	FL_ORDER_ISINSUR_Y = 1;     	// 订单是否需要购买保险 1 需要
	public static final int	FL_ORDER_ISINSUR_N = 0;     	// 订单是否需要购买保险 0 不需要
	
	public static final int	FL_ORDER_INSURSTS_WAIT= 0;     	// 订单保险购买状态   0待确定
	public static final int	FL_ORDER_INSURSTS_BUY= 1;     		// 订单保险购买状态  1待购买
	public static final int	FL_ORDER_INSURSTS_BOUGHT= 2;     		// 订单保险购买状态  2已购买
	public static final int	FL_ORDER_INSURSTS_CANCLE= 3;     		// 订单保险购买状态  3已取消
	
	public static final String	FL_ORDER_ISMAIL_Y = "1";     		// 是否需要邮寄行程单  1 是
	public static final String	FL_ORDER_ISMAIL_N = "0";     		// 是否需要邮寄行程单  0 否
	
	public static final int FL_ORDER_STATE_TYPE_O = 0;		//订单状态表类型	0订单
	public static final int FL_ORDER_STATE_TYPE_P = 1;		//订单状态表类型	1乘客
	
	public static final String 	YEE_PAYPLATFORM_ZFB = "1";		//平台支付方式	1支付宝
	
	public static final int 	FL_SMS_TYPE_OUT = 10;		// 短信类型， 10 出票成功通知
	public static final int 	FL_SMS_TYPE_OUT_FAIL = 11;		// 短信类型， 11 出票失败通知
	public static final int 	FL_SMS_TYPE_PAY = 20;		// 短信类型， 20 支付成功通知
	public static final int 	FL_SMS_TYPE_REFUND = 30;		// 短信类型， 30退票通知
	public static final int 	FL_SMS_TYPE_CHANGE = 40;		// 短信类型， 40改签通知
	
	public static final int 	FL_SMS_STS_WAIT = 1;		//  短信发送状态  1 待发送
	public static final int 	FL_SMS_STS_SEND = 2;		//  短信发送状态  2 已发送
	
	public static final int FL_ORDER_STATE_STATEID_WAIT = 21;		//订单 票状态  出票中
	public static final int FL_ORDER_STATE_STATEID_OK = 22;		//订单 票状态  出票成功
	public static final int FL_ORDER_STATE_STATEID_FAIL = 23;		//订单 票状态  出票失败
	
	public static final int FL_ORDER_PSGR_STATE_STATEID_WAIT = 31;		//订单乘客退票状态  退票中
	public static final int FL_ORDER_PSGR_STATE_STATEID_OK = 32;		//订单乘客退票状态  已退票
	public static final int FL_ORDER_PSGR_STATE_STATEID_FAIL = 33;		//订单乘客退票状态  退票失败
	
	public static final int FL_ORDER_STATE_STATEID_FEE_WAIT = 41;		//订单乘客退款状态  退款中
	public static final int FL_ORDER_STATE_STATEID_FEE_OK = 42;		//订单乘客退款状态  已退款
	public static final int FL_ORDER_STATE_STATEID_FEE_FAIL = 43;		//订单乘客退款状态  退款失败
	
	public static final int FL_ORDER_STATE_STATETYPE_FEE = 5;		  //订单状态类型  退款状态
	public static final int FL_ORDER_STATE_STATETYPE_PSGR_TICKET = 4;		  //订单状态类型  票状态
	public static final int FL_ORDER_STATE_STATETYPE_TICKET = 3;		  //订单状态类型  票状态
	public static final int FL_ORDER_STATE_STATETYPE_PAY = 2;		     //订单状态类型  支付状态
	public static final int FL_ORDER_STATE_STATETYPE_ORDER = 1;		     //订单状态类型  订单状态
	
	
	public static final String YEEK_NOTIFY_TYPE_OUT_SUC = "1";		     //易行天下回调接口出票成功
	public static final String YEEK_NOTIFY_TYPE_OUT_FAIL = "6";		     //易行天下回调接口出票失败
	
	public static final String FL_ORDER_APPLY_TYPE_REFUND = "1";		     	//退款申请
	public static final String FL_ORDER_APPLY_TYPE_CHANGE = "2";		     //改签申请
	
//	public static final String FL_ORDER_APPLY_STATUS_WAIT = "1";		     //改签申请
	
	public static final double FL_MIN_PRICE_COMPAREVALE = 1000000.00;		     //最低价比较用临时价格
	
	public static final int FLY_BEFORE_HOUR = 2;		     //起飞前2小时内不可以再买机票
	
	
	public static final String YK_CHANGE_NOTICE_SATE_OK = "1";		     //易行改期通知接口，改期成功
	public static final String YK_CHANGE_NOTICE_SATE_REFUSE = "2";		     //易行改期通知接口，改期被拒绝
	
}
